﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="SpecialWorkSrhForm.aspx.cs" Inherits="App_Input_SpecialWorkSrhForm" Title="生活管家-特殊计划维护"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    &nbsp;<div id="tableResult">
        <table width="100%">
            <tr>
                <td align="left" >
                <script language="javascript">
                                        (new TitleBar('SearchBar', '特殊计划列表')).showBar();
                            </script>
                </td>
            </tr>
            <tr>
                <td>
                    
                    <asp:GridView ID="viewSrhRst" runat="server" AllowPaging="True"
                        AutoGenerateColumns="False" CssClass="GridView_table" DataKeyNames="SpecialId"
                        OnRowCommand="viewSrhRst_RowCommand" OnPageIndexChanging="viewSrhRst_PageIndexChanging"
                        OnRowDataBound="viewSrhRst_RowDataBound" BorderStyle="Solid" BorderWidth="3px" EnableViewState="False">
                        <Columns>
                            <asp:BoundField HeaderText="计划编号" DataField="SpecialId" Visible = False>
                                <HeaderStyle Width="2%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_left" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="任务日期" DataField="SpecialDate" DataFormatString="{0:yyyy/MM/dd}" HtmlEncode = False>
                                <HeaderStyle Width="7%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                                                        
                            <asp:BoundField HeaderText="开始时间" DataField="BeginTime">
                                <HeaderStyle Width="7%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                                                        
                            <asp:BoundField HeaderText="结束时间" DataField="EndTime">
                                <HeaderStyle Width="7%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                                                        
                            <asp:BoundField HeaderText="完成时间" DataField="FactTime">
                                <HeaderStyle Width="7%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                                                        
                            <asp:BoundField HeaderText="当前管家" DataField="EmployeeName">
                                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                                                        
                            <asp:BoundField HeaderText="移交管家" DataField="FromEmployeeName">
                                <HeaderStyle Width="10%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                                                        
                            <asp:BoundField HeaderText="房间号" DataField="ApartmentNo">
                                <HeaderStyle Width="7%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>                                                        
                            <asp:TemplateField HeaderText="会员编号">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("MemberNo") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemStyle CssClass="GridView_item_left" />
                                <HeaderStyle CssClass="GridView_head_grayblue" Width="15%" />
                                <ItemTemplate>
                                    <asp:HyperLink ID="hypeMemberNo"  runat="server" href="#"  Text='<%# Bind("MemberNo") %>' ></asp:HyperLink> 
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="任务内容" DataField="SpecialContent">
                                <ItemStyle CssClass="GridView_item_left" />
                                <HeaderStyle Width="20%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="任务类型" DataField="TypeName">
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="7%" CssClass="GridView_head_grayblue" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="管家类型" DataField="ChamberlaineName">
                                <HeaderStyle Width="7%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_left" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="完成状况" DataField="CompleteFlg">
                                <HeaderStyle Width="7%" CssClass="GridView_head_grayblue" />
                                <ItemStyle CssClass="GridView_item_center" />
                            </asp:BoundField>
                            <asp:ButtonField ButtonType="Image" CommandName="Details" HeaderText="详细"
                                ImageUrl="~/images/info.gif">
                                <ItemStyle CssClass="GridView_item_center" />
                                <HeaderStyle Width="5%" CssClass="GridView_head_grayblue" />
                            </asp:ButtonField>
                        </Columns>
                        <PagerSettings Mode="NumericFirstLast" />
                        <PagerStyle HorizontalAlign="Right" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
        
    </div>
</asp:Content>
